﻿@page "/ToPdf/{param1}/{param2}/{param3}/{param4}/{param5}"
@page "/ToPdf/{param1}"
@page "/ToPdf/{param1}/{param2}"
@page "/ToPdf/{param1}/{param2}/{param3}"

@layout Cs
<iframe src="@PdfUrl" width="100%" height="1080px"></iframe>

@code {
    [Parameter]
    public string param1 { get; set; }

    [Parameter]
    public string param2 { get; set; }

    [Parameter]
    public string param3 { get; set; }

    [Parameter]
    public string param4 { get; set; }

    [Parameter]
    public string param5 { get; set; }

    public string PdfUrl = string.Empty;
}
